8.7
HIGH CVSS 4.0
CVE-2025-34031
Moodle LMS Jmol Plugin Path Traversal
Description

A path traversal vulnerability exists in the Moodle LMS Jmol plugin version 6.1 and prior via the query parameter in jsmol.php. The script directly passes user input to the file_get_contents() function without proper validation, allowing attackers to read arbitrary files from the server's filesystem by crafting a malicious query value. This vulnerability can be exploited without authentication and may expose sensitive configuration data, including database credentials. Exploitation evidence was observed by the Shadowserver Foundation on 2025-02-02 UTC.

INFO

Published Date :

June 24, 2025, 1:15 a.m.

Last Modified :

Nov. 20, 2025, 10:15 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2025-34031 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Geoffrowland jmol
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH [email protected]
CVSS 4.0 HIGH [email protected]
Solution
Update the Jmol plugin to a version that addresses the path traversal vulnerability.
  • Update the Jmol plugin to the latest version.
  • Ensure file access functions sanitize user input.
  • Review file access controls for sensitive data.
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2025-34031.

URL Resource
https://vulncheck.com/advisories/moodle-lms-jmol-plugin-path-traversal Third Party Advisory
https://www.dionach.com/moodle-jmol-plugin-multiple-vulnerabilities/ Exploit Third Party Advisory
https://www.exploit-db.com/exploits/46881 Exploit Third Party Advisory
https://www.exploit-db.com/exploits/46881 Exploit Third Party Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-34031 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-34031 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2025-34031 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    Nov. 20, 2025

    Action Type Old Value New Value
    Changed Description A path traversal vulnerability exists in the Moodle LMS Jmol plugin version 6.1 and prior via the query parameter in jsmol.php. The script directly passes user input to the file_get_contents() function without proper validation, allowing attackers to read arbitrary files from the server's filesystem by crafting a malicious query value. This vulnerability can be exploited without authentication and may expose sensitive configuration data, including database credentials. Exploitation evidence was observed by the Shadowserver Foundation on 2025-10-07 UTC. A path traversal vulnerability exists in the Moodle LMS Jmol plugin version 6.1 and prior via the query parameter in jsmol.php. The script directly passes user input to the file_get_contents() function without proper validation, allowing attackers to read arbitrary files from the server's filesystem by crafting a malicious query value. This vulnerability can be exploited without authentication and may expose sensitive configuration data, including database credentials. Exploitation evidence was observed by the Shadowserver Foundation on 2025-02-02 UTC.
  • CVE Modified by [email protected]

    Nov. 19, 2025

    Action Type Old Value New Value
    Changed Description A path traversal vulnerability exists in the Moodle LMS Jmol plugin version 6.1 and prior via the query parameter in jsmol.php. The script directly passes user input to the file_get_contents() function without proper validation, allowing attackers to read arbitrary files from the server's filesystem by crafting a malicious query value. This vulnerability can be exploited without authentication and may expose sensitive configuration data, including database credentials. A path traversal vulnerability exists in the Moodle LMS Jmol plugin version 6.1 and prior via the query parameter in jsmol.php. The script directly passes user input to the file_get_contents() function without proper validation, allowing attackers to read arbitrary files from the server's filesystem by crafting a malicious query value. This vulnerability can be exploited without authentication and may expose sensitive configuration data, including database credentials. Exploitation evidence was observed by the Shadowserver Foundation on 2025-10-07 UTC.
    Removed CWE CWE-200
    Removed CWE CWE-20
  • Initial Analysis by [email protected]

    Jul. 09, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    Added CWE CWE-22
    Added CPE Configuration OR *cpe:2.3:a:geoffrowland:jmol:*:*:*:*:*:moodle:*:* versions up to (including) 6.1
    Added Reference Type VulnCheck: https://vulncheck.com/advisories/moodle-lms-jmol-plugin-path-traversal Types: Third Party Advisory
    Added Reference Type VulnCheck: https://www.dionach.com/moodle-jmol-plugin-multiple-vulnerabilities/ Types: Exploit, Third Party Advisory
    Added Reference Type CISA-ADP: https://www.exploit-db.com/exploits/46881 Types: Exploit, Third Party Advisory
    Added Reference Type VulnCheck: https://www.exploit-db.com/exploits/46881 Types: Exploit, Third Party Advisory
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Jun. 25, 2025

    Action Type Old Value New Value
    Added Reference https://www.exploit-db.com/exploits/46881
  • CVE Modified by [email protected]

    Jun. 24, 2025

    Action Type Old Value New Value
    Added Reference https://vulncheck.com/advisories/moodle-lms-jmol-plugin-path-traversal
    Removed Reference https://vulncheck.com/advisories/moodle-lms-jmol-jsmol-plugin-path-traversal
  • New CVE Received by [email protected]

    Jun. 24, 2025

    Action Type Old Value New Value
    Added Description A path traversal vulnerability exists in the Moodle LMS Jmol plugin version 6.1 and prior via the query parameter in jsmol.php. The script directly passes user input to the file_get_contents() function without proper validation, allowing attackers to read arbitrary files from the server's filesystem by crafting a malicious query value. This vulnerability can be exploited without authentication and may expose sensitive configuration data, including database credentials.
    Added CVSS V4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
    Added CWE CWE-22
    Added CWE CWE-200
    Added CWE CWE-20
    Added Reference https://vulncheck.com/advisories/moodle-lms-jmol-jsmol-plugin-path-traversal
    Added Reference https://www.dionach.com/moodle-jmol-plugin-multiple-vulnerabilities/
    Added Reference https://www.exploit-db.com/exploits/46881
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 8.7
Attack Vector
Attack Complexity
Attack Requirements
Privileges Required
User Interaction
VS Confidentiality
VS Integrity
VS Availability
SS Confidentiality
SS Integrity
SS Availability
Base CVSS Score: 7.5
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact